Server Property

Provides access to the domain controller to indicate where Active Directory bind operations are to occur.

Syntax

ActiveDirectory.Server

Access

Read/Write.

Return Type

String.

Example

To determine the bind time to the PDC master of a specific domain controller, enter:


Dim objActiveDirectory
Dim lngBindTime

Set objActiveDirectory = CreateObject("McActiveDir.ActiveDirectory")

objActiveDirectory.Server = "Server1"
If objActiveDirectory.BindPDCMaster Then
lngBindTime = objActiveDirectory.PDCMasterBind
End If

Set objActiveDirectory = Nothing

This example determines the time required to bind to the PDC master as specified in the replica of the server 'Server1'.